package com.xyht.sca_s.student_manage_system.modules.clockIn.entity.req;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 考勤组设置表
 * </p>
 *
 * @author XYHT
 * @since 2023-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_clock_in_group_setting")
@ApiModel(value="SmsClockInGroupSetting对象", description="考勤组设置表")
public class SmsClockInGroupSettingUpdateReq implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "考勤组名称")
    private String clockInGroupName;

    @ApiModelProperty(value = "参加考勤流程对象类型 (1：个人  2：角色  3:组织)")
    private Integer clockInObjectType;

    @ApiModelProperty(value = "参加考勤的部门和人员")
    private List<String> clockInObjectIdList;

    @ApiModelProperty(value = "是否允许打卡(0:否 1:是)")
    private Boolean isAllowClockIn;

    @ApiModelProperty(value = "补卡类型(1:缺卡,2:迟到,3:早退,4:正常)")
    private List<Integer> repairTypeList;

    @ApiModelProperty(value = "是否限制补卡时间(默认false)")
    private Boolean isRepairTime;

    @ApiModelProperty(value = "补卡时间(只能申请过去 x 天内的补卡)")
    private Integer repairTime;

    @ApiModelProperty(value = "是否限制补卡次数(默认false)")
    private Boolean isRepairTimes;

    @ApiModelProperty(value = "补卡次数：在每个月内最多可补卡 x 次")
    private Integer repairTimes;

    @ApiModelProperty(value = "是否需要审批")
    private Boolean isAllow;

    @ApiModelProperty(value = "审批人对象类型(1:个人 2: 角色)")
    private Integer allowUserType;

    @ApiModelProperty(value = "审批人id")
    private List<String> allowUserIdList;


}
